package com.fastCms.business.frame.pojo;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 哈密瓜科技 版权所有 © Copyright 2019<br>
 *
 * @Description: 登录权限控制<br>
 * @Project: hami <br>
 * @CreateDate: Created in 2019/3/7 下午3:48 <br>
 * @Author: <a href="lsquan666@163.com">lsquan</a>
 */
@Api(value = "UserModel-存放于redis")
@Data
public class UserModel {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户id")
    private String userId;

    @ApiModelProperty(value = "组织编号", example = "RSH")
    private String organizeCode;

    @ApiModelProperty(value = "登录用户名", example = "rsh")
    private String username;

    @ApiModelProperty(value = "姓名", example = "人参大")
    private String name;

    @ApiModelProperty(value = "电话", example = "15757851174")
    private String phone;

    @ApiModelProperty(value = "邮箱", example = "316659431@qq.com")
    private String email;

    @ApiModelProperty(value = "头像URL")
    private String headImg;

    @ApiModelProperty(value = "token")
    private String token;

    public UserModel(String userId, String token) {
        this.userId = userId;
        this.token = token;
    }

    public UserModel() {
    }


}
